package LocalStorage

import "net/http"

func (Le LocalEngine) GetFileContentType(buffer []byte) string {
	if len(buffer) < 512 {
		return http.DetectContentType(buffer)
	}
	return http.DetectContentType(buffer[:512])
}
